package com.atguigu.tingshu.order.adapter.Impl;

import com.atguigu.tingshu.order.adapter.PayWay;
import com.atguigu.tingshu.vo.order.OrderInfoVo;
import org.springframework.stereotype.Service;

/**
 * 支付宝支付逻辑
 */
@Service
public class AliPayWayImpl implements PayWay {

    @Override
    public boolean isSupport(String payWay) {
        return "1102".equals(payWay);
    }

    @Override
    public void dealPayWay(OrderInfoVo orderInfoVo, Long userId, String orderNo) {
        //支付宝支付逻辑
    }
}
